#include <iostream>
#include <cstring>
using namespace std;
//-----基类的定义
class Student
{
  private:
    int stdno;
    char name[20];
    int age;
    char classname[20];
    char schoolname[20];
    public:
    //构造函数
    Student(int stdno,char name[],int age,char classname[],char schoolname[])
    {
      this->stdno = stdno;
      strcpy(this->name, name);
      this->age = age;
      strcpy(this->classname, classname;)
             strcpy(this->schoolname, schoolname;)
    }
    void show()
    {
      cout << stdno << "\t";
      cout << name << "\t";
      cout << age << "\t";
      cout << classname << "\t";
      cout << schoolname << "\t";
    }
};


 